import api from '@/api/api.js'

export default {
    getPost(offset) {
        return api().get('post',offset);
    },
    submitsPost(article) {

        return api().post('post', article);
    },
    likePost(info) {
        return api().post('post/like', info);
    },
    commentPost(comment) {
        return api().post('post/comment', comment);
    }
}